package model;

/**
 * @author Alex Vikharev alex.vikharev@gmail.com
 *         created 25.01.12
 */
public enum GameState {
    BEFORE_START(false),
    FIRST_PLAYER_MOVE(false),
    SECOND_PLAYER_MOVE(false),
    FIRST_PLAYER_WIN(true),
    SECOND_PLAYER_WIN(true),
    TIE(true);

    boolean isGameFinished;

    GameState(boolean gameFinished) {
        isGameFinished = gameFinished;
    }

    public boolean isGameFinished() {
        return isGameFinished;
    }
}
